package com.i8office.android.zhihuixinwu.dagger;


import com.i8office.android.zhihuixinwu.bean.ApiService;
import com.i8office.android.zhihuixinwu.bean.NewsApiService;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by pc on 2018/4/27.
 */
@Singleton
@Component(modules = OfficeModules.class)
public interface OfficeComponent {
    final class OfficeInitialize{
        public static OfficeComponent init(){return DaggerOfficeComponent.builder().build();}
    }
    ApiService getAPIService();
    NewsApiService getNewsService();
}
